<div class="span3 bs-docs-sidebar">
    <ul class="nav nav-list bs-docs-sidenav">
        <li><?php echo anchor('admin/addCustomer', '<i class="icon-chevron-right"></i>Add Customer') ?></li>
        <li><?php echo anchor('admin/customer', '<i class="icon-chevron-right"></i>Customer List') ?></li>
    </ul>
</div>
<div class="span9">
    <section id="transaksi">
        <div class="page-header">
            <h1>Daftar Customer</h1>
        </div>
        <div class="row-fluid">
            <div class="span10">
                <table class="table table-bordered table-striped">
                    <colgroup>
                        <col class="span1">
                        <col class="span7">
                    </colgroup>
                    <thead>
                        <tr>
                            <th>#</th>
                            <th>Customer ID</th>
                            <th>Nama</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php $no = 1 ?>
                        <?php foreach ($customer as $data) : ?>
                            <tr>
                                <td>
                                    <?php echo $no ?>
                                </td>
                                <td>
                                    <code><?php echo $data->id ?></code>
                                </td>
                                <td><?php echo $data->nama ?></td>
                            </tr>
                            <?php $no++ ?>
                        <?php endforeach; ?>
                    </tbody>
                </table>
            </div>
        </div>
    </section>
</div>